package sqlsession;

import config.Configuration;
import config.MappedStatement;

import java.sql.SQLException;

/**
 * @CreatedBy richInfo AI
 * @ClassName Executor
 * @Date 2021/8/16 2:42 下午
 * @Author xin.yang
 * @Description TODO
 */
public interface Executor
{

    public <U> U selectList(MappedStatement mappedStatement, Configuration configuration, Object... args) throws SQLException, Exception;

    int save(MappedStatement mappedStatement, Configuration configuration, Object... args) throws SQLException, Exception;
}
